package com.vms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(value = {
        "com.chuku.controller", "com.chuku.service",
        "com.guohu.controller", "com.guohu.service",
        "com.ruku.controller", "com.ruku.service",
        "com.systemmanger.controller", "com.systemmanger.service",
        "com.tongji.controller", "com.tongji.service",
        "com.user.controller", "com.user.service",
})
@MapperScan(basePackages = {
        "com.chuku.mapper",
        "com.guohu.mapper",
        "com.ruku.mapper",
        "com.systemmanger.mapper",
        "com.tongji.mapper",
        "com.user.mapper",
})
@EnableTransactionManagement
public class VmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(VmsApplication.class, args);
    }

}
